<!-- indexController.php -->
<?php 
	require 'Controller.php';
	require 'Home/Model/IndexModel.php';				
	class IndexController extends Controller{
		function __Construct(){
			parent::__Construct();
			$this->model = new indexModel();
		}

		function index(){
			$data1 = $this->model->getuserlist();
			$this->assign('userlist',$data1);

			$data2 = $this->model->getsignifi();
			$this->assign('cosignifi',$data2);
			
			/*$data3 = $this->model->getvideoinfor();
			$this->assign('videoinfor',$data3);*/

			$this->display();
		}

		function gallery(){
			$data1 = $this->model->getactivityphoto();
			$this->assign('photolist',$data1);
			$this->display();
		}

		function about(){
			$data1 = $this->model->getdename();
			$this->assign('denamelist',$data1);
			$this->display();
		}

		function contact(){
			$data1 = $this->model->getcooperate();
			$this->assign('cooperatelist',$data1);
			$this->display();
		}
	}
 ?>